package com.shared.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * (POrderItem)实体类
 *
 * @author makejava
 * @since 2020-07-01 10:01:14
 */
@ApiModel(value = "POrderItem", description = "订单详情")
public class POrderItem extends POrders implements Serializable {
    private static final long serialVersionUID = -39368097664743654L;
    @ApiModelProperty(value = "[自动增长]主键")
    private Integer id;
    @ApiModelProperty(value = "[必填]订单id")
    private Integer orderid;
    @ApiModelProperty(value = "[必填]订单编号")
    private String ordersn;
    @ApiModelProperty(value = "[必填]商品id")
    private Integer goodsid;
    @ApiModelProperty(value = "[必填]商品标题")
    private String goodstitle;
    @ApiModelProperty(value = "[必填]商品数量")
    private Integer goodsnum;
    @ApiModelProperty(value = "[必填]商品图片")
    private String goodspic;
    @ApiModelProperty(value = "[必填]商品价格")
    private Double goodsprice;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderid() {
        return orderid;
    }

    public void setOrderid(Integer orderid) {
        this.orderid = orderid;
    }

    public String getOrdersn() {
        return ordersn;
    }

    public void setOrdersn(String ordersn) {
        this.ordersn = ordersn;
    }

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public String getGoodstitle() {
        return goodstitle;
    }

    public void setGoodstitle(String goodstitle) {
        this.goodstitle = goodstitle;
    }

    public Integer getGoodsnum() {
        return goodsnum;
    }

    public void setGoodsnum(Integer goodsnum) {
        this.goodsnum = goodsnum;
    }

    public String getGoodspic() {
        return goodspic;
    }

    public void setGoodspic(String goodspic) {
        this.goodspic = goodspic;
    }

    public Double getGoodsprice() {
        return goodsprice;
    }

    public void setGoodsprice(Double goodsprice) {
        this.goodsprice = goodsprice;
    }

}